import request from "@/utils/request";


// 查询计时规则详细
export function getJishi(query) {
  return request({
    url: '/system/jishi',
    method: 'get',
    params: query
  })
}

// 新增计时规则
export function addJishi(data) {
  return request({
    url: '/system/jishi',
    method: 'post',
    data: data
  })
}

// 修改计时规则
export function updateJishi(data) {
  return request({
    url: '/system/jishi',
    method: 'put',
    data: data
  })
}
